package xyz.xiezc.mzix.schedule.dao;

import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import xyz.xiezc.mzix.schedule.entity.PageDO;

import java.util.List;

@Repository
public interface PageRepository extends CrudRepository<PageDO, Integer> {

  List<PageDO> findByStatus(Integer status, Pageable pageable);

}
